package org.jeecg.modules.parameter.common.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * patch方式更新数据使用的ChangeField
 */
@Data
public class ChangeField {

    @NotEmpty
    @ApiModelProperty(value = "更新字段名称")
    private String fieldName;

    @ApiModelProperty(value = "更新字段值")
    private Object fieldValue;
}
